package dongze.com.ckdj.dagger.component;

import dagger.Component;
import dongze.com.ckdj.activity.NamePlateActivity;
import dongze.com.ckdj.activity.ParkingLotActivity;
import dongze.com.ckdj.activity.RandomInspectionActivty;
import dongze.com.ckdj.activity.UserPreferenceActivity;
import dongze.com.ckdj.dagger.AppScope;
import dongze.com.ckdj.dagger.DataStore;
import dongze.com.ckdj.dagger.module.UserModule;
import dongze.com.ckdj.data.entity.response.User;
import dongze.com.ckdj.persistence.dao.DaoSession;

/**
 * Created by fanqwz on 2017/8/11.
 */

@AppScope
@Component(modules = UserModule.class, dependencies = AppComponent.class)
public interface UserComponent {
    User getUser();

    DaoSession getDao();

    DataStore getDataStore();

    void inject(UserPreferenceActivity activity);

    void inject(NamePlateActivity activity);

    void inject(ParkingLotActivity activity);

    void inject(RandomInspectionActivty activity);
}
